package com.hacker.o2o.service;

import com.hacker.o2o.entity.ShopCategory;

import java.util.List;

/**
 * @Author:这个程序员有纹身
 * @Date: Created in 22:00 2018\1\6 0006
 */
public interface ShopCategoryService {

    public static final String SCLISTKEY = "shopcategorylist";

    /**
     * 根据查询条件获取ShopCategory列表
     * @param shopCategoryCondition
     * @return
     */
    List<ShopCategory> getShopCategory(ShopCategory shopCategoryCondition);

    /**
     * 根据查询条件获取ShopCategory列表——一级列表
     * @param shopCategoryCondition
     * @return
     */
    List<ShopCategory> getShopCategoryParent(ShopCategory shopCategoryCondition);

}
